package com.digitalgeko.pruebasdeconcepto;

import com.digitalgeko.pruebasdeconcepto.complements.*;

import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Display display = ((WindowManager) getSystemService(WINDOW_SERVICE)).getDefaultDisplay();
		GeneralParameter.selectedOrientation = display.getOrientation();
	}
	
	public void rotacionesClick(View v){
		startActivity(new Intent().setComponent(new ComponentName(this, RotacionActivity.class)));
	}
	
	public void fragmentsClick(View v){
		startActivity(new Intent().setComponent(new ComponentName(this, FragmentActivity.class)));
	}
	
	public void tutorialClick(View v){
		startActivity(new Intent().setComponent(new ComponentName(this, TutorialMainActivity.class)));
	}

}
